package com.xmz.service;

import com.xmz.entity.Student;
import com.xmz.util.PageResult;
import com.xmz.vo.StudentVo;


import java.util.List;

public interface StudentService {

    List<Student> selectAll();

    PageResult<Student> findByPage(Integer page, Integer pageSize);

    PageResult<Student> search(Integer page, Integer pageSize, StudentVo studentVo);

    int addStudent(Student student);
}
